package com.mashiro.system.domain;

import com.mashiro.common.annotation.Excel;
import com.mashiro.common.core.domain.TreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 资金对象 moe_fund
 *
 * @author mashiro
 * @date 2023-04-15
 */
public class MoeFund extends TreeEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 资金ID
     */
    private Long id;

    /**
     * 资金名称
     */
    @Excel(name = "资金名称")
    private String name;

    /**
     * 项目ID
     */
    @Excel(name = "项目ID")
    private Long projectId;
    /**
     * 项目
     */
    @Excel(name = "项目")
    private String projectName;
    /**
     * 任务ID
     */
    @Excel(name = "任务ID")
    private Long taskId;
    /**
     * 任务
     */
    @Excel(name = "任务")
    private String taskName;
    /**
     * 省份资金
     */
    private Long provinceFunding;

    /**
     * 市级资金
     */
    private Long cityFunding;

    /**
     * 公司资金
     */
    private Long companyFunding;

    /**
     * 已使用省份资金
     */
    private Long usedProvinceFunding;

    /**
     * 已使用市级资金
     */
    private Long usedCityFunding;

    /**
     * 已使用公司资金
     */
    private Long usedCompanyFunding;

    /**
     * 总资金
     */
    @Excel(name = "总资金")
    private Long totalFunding;

    /**
     * 已使用总资金
     */
    @Excel(name = "已使用总资金")
    private Long usedFunding;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

    /**
     * 删除标志（0存在 2删除）
     */
    private String delFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getProvinceFunding() {
        return provinceFunding;
    }

    public void setProvinceFunding(Long provinceFunding) {
        this.provinceFunding = provinceFunding;
    }

    public Long getCityFunding() {
        return cityFunding;
    }

    public void setCityFunding(Long cityFunding) {
        this.cityFunding = cityFunding;
    }

    public Long getCompanyFunding() {
        return companyFunding;
    }

    public void setCompanyFunding(Long companyFunding) {
        this.companyFunding = companyFunding;
    }

    public Long getUsedProvinceFunding() {
        return usedProvinceFunding;
    }

    public void setUsedProvinceFunding(Long usedProvinceFunding) {
        this.usedProvinceFunding = usedProvinceFunding;
    }

    public Long getUsedCityFunding() {
        return usedCityFunding;
    }

    public void setUsedCityFunding(Long usedCityFunding) {
        this.usedCityFunding = usedCityFunding;
    }

    public Long getUsedCompanyFunding() {
        return usedCompanyFunding;
    }

    public void setUsedCompanyFunding(Long usedCompanyFunding) {
        this.usedCompanyFunding = usedCompanyFunding;
    }

    public Long getTotalFunding() {
        return totalFunding;
    }

    public void setTotalFunding(Long totalFunding) {
        this.totalFunding = totalFunding;
    }

    public Long getUsedFunding() {
        return usedFunding;
    }

    public void setUsedFunding(Long usedFunding) {
        this.usedFunding = usedFunding;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("projectId", getProjectId())
                .append("projectName", getProjectName())
                .append("taskId", getTaskId())
                .append("taskName", getTaskName())
                .append("provinceFunding", getProvinceFunding())
                .append("cityFunding", getCityFunding())
                .append("companyFunding", getCompanyFunding())
                .append("usedProvinceFunding", getUsedProvinceFunding())
                .append("usedCityFunding", getUsedCityFunding())
                .append("usedCompanyFunding", getUsedCompanyFunding())
                .append("totalFunding", getTotalFunding())
                .append("usedFunding", getUsedFunding())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
